package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * 购物车接口
 * @author admin
 * @date 2024/9/18
 */
public interface ShoppingCartService {
    void add(ShoppingCartDTO shoppingCartDTO);

    List<ShoppingCart> list();

    void deleteAll();

    void sub(ShoppingCartDTO shoppingCartDTO);
}
